import http from '../../common/service/http.js';
export function submitServe(params, options) {
  return http.post('/institute/service-info/addServiceInfo', params, options).then(res => res.data);
}
export function getOrgServe(params, options) {
  return http.post('/institute/service-info/queryBasic', params, options).then(res => res.data);
}
export function getUserServeList(params, options) {
  return http.get('/institute/service-info/getAllServiceByuserId', params, options).then(res => res.data);
}
export function cancelServe(params, options) {
  return http.post('/institute/service-info/cancel', params, options).then(res => res.data);
}
export function startAgain(params, options) {
  return http.post('/institute/service-info/startAgain', params, options).then(res => res.data);
}
export function delService(params, options) {
  return http.post('/institute/service-info/delService', params, options).then(res => res.data);
}
export function offDownServe(params, options) {
  return http.post('/institute/service-info/offDown', params, options).then(res => res.data);
}
export function queryOrder(params, options) {
  return http.post('/institute/service-info/queryOrder', params, options).then(res => res.data);
}
export function completeOrder(params, options) {
  return http.post('/institute/service-info/complete', params, options).then(res => res.data);
}
export function receiving(params, options) {
  return http.post('/institute/service-info/receiving', params, options).then(res => res.data);
}
export function cancelOrder(params, options) {
  return http.post('/institute/service-info/cancelOrder', params, options).then(res => res.data);
}
export function getOrderDetail(params, options) {
  return http.post('/institute/service-info/queryOrderDetails', params, options).then(res => res.data);
}
